package service.serviceImpl;

import dao.DepartInfoDao;
import dao.daoImpl.DepartInfoDaoImpl;
import pojo.DepartInfo;
import service.DepartInfoService;

import java.sql.SQLException;
import java.util.List;

public class DepartInfoServiceImpl implements DepartInfoService {

    DepartInfoDao departInfoDao = new DepartInfoDaoImpl();

    @Override
    public List<DepartInfo> findDepartInfo(String d_id) throws SQLException {
        return departInfoDao.findDepartInfo(d_id);
    }
}
